package com.zld.smarket.dao;

import com.zld.smarket.pojo.Shelves;
import java.util.List;

public interface ShelvesMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Shelves record);

    Shelves selectByPrimaryKey(Long id);

    List<Shelves> selectAll();

    int updateByPrimaryKey(Shelves record);

    List<Shelves> selectAllAndPage(Integer page, Integer limit);

    Long countShelves();

    List<Shelves> search(String s, Integer page, Integer limit);

    Long countShelvesByNo(Long i);


    int addShelvesNum(Long shelvesNo,Long shelvesonNum);

    Shelves select(Long j);
}